package org.box.demos.multithreading.wgetmt.core;


/**
 * Describes the API of converting urls to the other formats such as: File
 * System's path format
 * 
 * @author <a href="mailto:alexander.box@gmail.com">Alexander Korobka</a>
 * 
 */
public interface Converter {

	/**
	 * Converts url to the other formats like file path's format and so on
	 * 
	 * @param url - the url to convert
	 * @param pageUrl - the page's url where the <code>url<code> to converting is located
	 * @return the converted url
	 */
	String convert(URL url, URL pageUrl);

}
